#ifndef CMANAGE_H
#pragma once

#define CMANAGE_H
#pragma once

#include "CHeaders.h"
#include "CUser.h"
#include "CBuildMap.h"
#include "CShapeBase.h"
#include "CShapeNum.h"
#include "CShapeAlpha.h"
#include "CShapeGraph.h"

class CManage
{
    public:
        CManage();
        virtual ~CManage();
        void Run();

        void Init ();
        bool Login ();

    private:
        void InitGame ();
        void RecordMark ();
        void RecordMax ();
        void PrintMax (int);
        void PrintMark ();
        void SelectOption();

    private:
        CUser *m_user;
        vector<CUser*>m_userlist;
        vector<int>m_max;
        int m_level;
        int m_shape;

        CBuildMap *m_map;
};

#endif // CMANAGE_H
